package com.lsege.mapper.backstage;

import com.lsege.entity.backstage.MerchantOccupancyOrder;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2017/8/1 0001.
 */
@Mapper
@Repository(value = "MerchantOccupancyMapper")
public interface MerchantOccupancyMapper {
    List<MerchantOccupancyOrder> getMerchantOccupancyOrder();
    Long getOrderCount();
    void toPayOver(MerchantOccupancyOrder merchantOccupancyOrder);
    List<MerchantOccupancyOrder> getOneJoinOrder(String checkInCode);
    Integer getStateByCode(MerchantOccupancyOrder merchantOccupancyOrder);
}
